package com.doform.android.xianggucheng.bean.request_bean;

import com.doform.android.xianggucheng.help.AppHelp;
import com.google.gson.Gson;

/**
 * 作者 Y_MS
 * Created by ${APEN} on 2017-08-08.
 * GitHub：https://github.com/cxydxpx
 */

public class ReqSubmitShopCar {

    /**
     * _savetype 	是 	string 	操作类型：新增：add ； 编辑：update
     * bizid 	是 	string 	客户 ID
     * bizaddrid 	是 	string 	收货地址ID
     * total 	否 	string 	合计
     * debug 	是 	string 	开启：true
     */

    private String _savetype = "add";
    private boolean debug = AppHelp.getInstance().Debug;
    private String bizid;
    private String bizaddrid;
    private String total;

    public ReqSubmitShopCar(String clientId, String addrId, String mStrSumPrice) {
        this.bizid = clientId;
        this.bizaddrid = addrId;
        this.total = mStrSumPrice;
    }

    @Override
    public String toString() {
        return new Gson().toJson(this);
    }
}
